﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Blog.Models
{
    public class BlogRollModel
    {
        [Required]
        public int BlogRollId { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [StringLength(200)]
        public string Title { get; set; }

        [Required]
        [DataType(DataType.Url)]
        [StringLength(200)]
        public string Url { get; set; }

        [Required]
        public int BlogId { get; set; }
    }
}